package com.aote.expression.occasion;

import java.util.Map;

import org.w3c.dom.Element;

import com.browsesoft.htmlcomponent.HTMLBasicComponent;

/**
 * 时机条件
 * 
 */
public interface OccasionCondition {

	/**
	 * 是否合适
	 * 
	 * @param attrs
	 *            属性集合
	 * @param name
	 *            输入筐名称
	 */
	public boolean isFit(Map attrs, String name, Element elem,
			HTMLBasicComponent comp);
}
